<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <from action="/file1" method="post" enctype="multipart/form-data">
        上传:<input type="file" name="file"/>
        <input type="submit" value="上传" />
    </from>

</body>
</html>